import store from '@/store/index.js'

export function authBtnDisabled(key, routerName) {
  return store.state.authRouterInfo[routerName].indexOf(key) === -1
}